COLLECTION.FIRST Function
Syntax
A First()
Key as C = <COLLECTION>.FIRST()
Key as D = <COLLECTION>.FIRST()
Key as N = <COLLECTION>.FIRST()
Description
Return the first element of the collection.
Discussion
The <COLLECTION>.FIRST() method returns the first Key in a collection.
Example
dim mycollection as u mycollection.SET("FJ","Fred Jones") mycollection.SET("BB","Bryan Boyd") mycollection.SET("KL","Kim Lee") mycollection.SET("KB","Karen Boyd") mycollection.SET("EL","Erica Loyd") ? mycollection.FIRST() = "FJ"
See Also